#ifndef __form_hpp__
#define __form_hpp__

#include "FormImpl.hpp"
#include "Control.hpp"

namespace Gui
{
	//Wrapper para Form.
	class Form : public virtual Control
	{
	protected:
		RevEng::ObjRef<FormImpl> m_pForm;

	public:
		//eventos
		RevEng::ObjRef<RevEng::Event> Close;

	public:
		Form();
		virtual ~Form() {}

		virtual bool DoEvents();
		virtual ControlImpl* __GetImpl() const;
	};
}
#endif	//__form_hpp__
